package com.ruoyi.clique.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.text.DecimalFormat;
import java.util.Date;

/**
 * 集团信息对象 clique_detail
 *
 * @author ruoyi
 * @date 2019-10-25
 */
public class CliqueDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private int id;

    /** 卡片编号 */
    @Excel(name = "卡片编号")
    private String assetNo;

    /** 搜索值 */
    private String searchParam;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 资产编码 */
    @Excel(name = "资产编码")
    private String assetCode;

    /** 资产类别 */
    @Excel(name = "资产类别")
    private String assetType;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 型号 */
    @Excel(name = "型号")
    private String assetModel;

    /** 本币原值 */
    @Excel(name = "本币原值")
    private String originalValue;

    /** 累积折旧 */
    @Excel(name = "累计折旧")
    private String accumulatedDiscount;

    /** 本年折旧 */
    @Excel(name = "本年折旧")
    private String thisDiscount;

    /** 净值 */
    @Excel(name = "净值")
    private String netWorth;

    /** 净额 */
    @Excel(name = "净额")
    private String netAmount;

    /** 减值准备 */
    @Excel(name = "减值准备")
    private String impairment;

    /** 删除标记 */
    private String delFlag;

    /** 状态 */
//    @Excel(name = "状态")
    private String status;

    /** 管理部门 */
    @Excel(name = "管理部门")
    private String manageDept;

    /** 使用部门 */
    @Excel(name = "使用部门")
    private String deptId;

    /** 使用人 */
    @Excel(name = "使用人")
    private String useUser;

    /** 数量 */
    @Excel(name = "数量")
    private String amount;

    /** 使用地点 */
    @Excel(name = "存放地点")
    private String address;

    /** 开始使用时间 */
    @Excel(name = "开始使用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 使用期限 */
    @Excel(name = "使用月限")
    private String dueTime;

    /** 净残值率 */
    @Excel(name = "净残值率")
    private String netSalvageRate;

    public String getAssetNo() {
        return assetNo;
    }

    public void setAssetNo(String assetNo) {
        this.assetNo = assetNo;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public int getId()
    {
        return id;
    }

    public String getSearchParam()
    {
        return searchParam;
    }

    public void setSearchParam(String searchParam)
    {
        this.searchParam = searchParam;
    }

    public void setAssetName(String assetName)
    {
        this.assetName = assetName;
    }

    public String getAssetName()
    {
        return assetName;
    }
    public void setAssetCode(String assetCode)
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode()
    {
        return assetCode;
    }
    public void setAssetType(String assetType)
    {
        this.assetType = assetType;
    }

    public String getAssetType()
    {
        return assetType;
    }
    public void setSpecifications(String specifications)
    {
        this.specifications = specifications;
    }

    public String getSpecifications()
    {
        return specifications;
    }
    public void setAssetModel(String assetModel)
    {
        this.assetModel = assetModel;
    }

    public String getAssetModel()
    {
        return assetModel;
    }
    public void setOriginalValue(String originalValue)
    {
        this.originalValue = originalValue;
    }

    public String getOriginalValue()
    {
        return originalValue;
    }
    public void setAccumulatedDiscount(String accumulatedDiscount)
    {
        this.accumulatedDiscount = accumulatedDiscount;
    }

    public String getAccumulatedDiscount()
    {
        return accumulatedDiscount;
    }
    public void setThisDiscount(String thisDiscount)
    {
        this.thisDiscount = thisDiscount;
    }

    public String getThisDiscount()
    {
        return thisDiscount;
    }
    public void setNetWorth(String netWorth)
    {
        this.netWorth = netWorth;
    }

    public String getNetWorth()
    {
        return netWorth;
    }
    public void setNetAmount(String netAmount)
    {
        this.netAmount = netAmount;
    }

    public String getNetAmount()
    {
        return netAmount;
    }
    public void setImpairment(String impairment)
    {
        this.impairment = impairment;
    }

    public String getImpairment()
    {
        return impairment;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setManageDept(String manageDept)
    {
        this.manageDept = manageDept;
    }

    public String getManageDept()
    {
        return manageDept;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setUseUser(String useUser)
    {
        this.useUser = useUser;
    }

    public String getUseUser()
    {
        return useUser;
    }
    public void setAmount(String amount)
    {
        this.amount = amount;
    }

    public String getAmount()
    {
        return amount;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setDueTime(String dueTime)
    {
        this.dueTime = dueTime;
    }

    public String getDueTime()
    {
        return dueTime;
    }
    public void setNetSalvageRate(String netSalvageRate)
    {
        this.netSalvageRate = netSalvageRate;
    }

    public String getNetSalvageRate()
    {
        return netSalvageRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("assetName", getAssetName())
                .append("assetCode", getAssetCode())
                .append("assetType", getAssetType())
                .append("specifications", getSpecifications())
                .append("assetModel", getAssetModel())
                .append("originalValue", getOriginalValue())
                .append("accumulatedDiscount", getAccumulatedDiscount())
                .append("thisDiscount", getThisDiscount())
                .append("netWorth", getNetWorth())
                .append("netAmount", getNetAmount())
                .append("impairment", getImpairment())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("status", getStatus())
                .append("manageDept", getManageDept())
                .append("deptId", getDeptId())
                .append("useUser", getUseUser())
                .append("amount", getAmount())
                .append("address", getAddress())
                .append("startDate", getStartDate())
                .append("dueTime", getDueTime())
                .append("netSalvageRate", getNetSalvageRate())
                .toString();
    }
}
